﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="SAIPS" %>
<script type="text/javascript" src="../../Scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript">
    function updateUrl(controller) {
        window.location = "/" + controller;
    }
    function selectMenu(name) {
        var mnu = $("#mnu" + name);
        mnu.addClass("mnuSelected");
        mnu.removeAttr("onclick");
    }
</script>
<div class="topMenu">
    <ul>
        <li id="mnuHome" onclick="javascript:updateUrl('Home')">Home</li>
        <li id="mnuProduct" onclick="javascript:updateUrl('Product')">Produtos</li>
        <li id="mnuDefaultDocument" onclick="javascript:updateUrl('DefaultDocument')">Padrões</li>
        <li id="mnuDocument" onclick="javascript:updateUrl('Document')">Documentos</li>
        <li id="mnuUser" onclick="javascript:updateUrl('User')">Usuários</li>
    </ul>
</div>
<div style="clear:both;"></div>

